﻿using Furion.DatabaseAccessor;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FurStudy.Core
{
    /// <summary>
    /// 视图实体只需要继承EntityNotKey基类并编写无参构造函数继承base("视图名称")即可
    /// </summary>
    public class V_Person : EntityNotKey
    {
        /// <summary>
        /// 配置视图名
        /// </summary>
        /// <param name="name"></param>
        public V_Person(string name) : base(name)
        {
        }

        /// <summary>
        /// 主键Id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 年龄
        /// </summary>
        public int Age { get; set; }

        /// <summary>
        /// 住址
        /// </summary>
        public string Address { get; set; }
    }
}
